<template>
  <div id="app">
    <div class="app-container">
      <div id="sideMenu">
        <Sidebar />
      </div>
      <div id="content">
        <router-view />
      </div>
    </div>
  </div>
</template>
<script>
import Sidebar from "@/components/Sidebar";

export default {
  components: {
    Sidebar
  }
};
</script>
<style>
body {
  padding: 0;
  margin: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  padding: 0;
  margin: 0;
}

#app .app-container {
  display: flex;
}
#app .app-container #sideMenu {
  float: left;
  width: 240px;
  text-align: left;
}
#app .app-container #content {
  overflow: hidden;
}
#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}

.nav-icon {
  font-size: 1.5em;
}
</style>
